import 'package:regsiter_center/register_model.dart';

/**
 *
 * @ProjectName:    regsiter_center
 * @ClassName:      register_center_helper
 * @Description:    dart类作用描述
 * @Author:         孙浩
 * @QQ:             243280864
 * @CreateDate:     2021/1/8 4:46 PM
 */

class RegisterCenterHelper {
  List<RegisterModel> _modelList = [];
  String token;


  ///加载model组件
  initModel<T extends RegisterModel>(T model) {
    _modelList.add(model);
  }

  binToken(String accessToken,String refreshToken){
    _modelList.forEach((element) {
      element.initToken(token,refreshToken);
    });
  }



}
